package com.yun.zf.common.admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 用户订单合同关系表
 * </p>
 *
 * @author cj
 * @since 2021-08-18
 */
@TableName("sys_user_order")
@Data
public class SysUserOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 省级区划代码
     */
    private Long provinceCode;

    /**
     * 城市编码
     */
    private Long cityCode;

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 合同id
     */
    private Long pactId;

    // 子订单id
    private Long subOrderId;
    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private LocalDateTime modifiedTime = LocalDateTime.now();
}
